<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pepr3D: pepr3d::Toolbar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pepr3d_icon.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Pepr3D
   &#160;<span id="projectnumber">v1.0</span>
   </div>
   <div id="projectbrief">Pepr3D is a 3D graphics editor designed for FDM printing</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpepr3d_1_1_toolbar.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpepr3d_1_1_toolbar-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pepr3d::Toolbar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A top part of the user interface that shows a File menu, Undo, Redo, and all tools.  
 <a href="classpepr3d_1_1_toolbar.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_toolbar_8h_source.html">Toolbar.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">ButtonProperties</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Properties of a clickable and selectable button in the <a class="el" href="classpepr3d_1_1_toolbar.html" title="A top part of the user interface that shows a File menu, Undo, Redo, and all tools.">Toolbar</a>.  <a href="structpepr3d_1_1_toolbar_1_1_button_properties.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a84600ac501c165a06e775e70e5414a5a"><td class="memItemLeft" align="right" valign="top"><a id="a84600ac501c165a06e775e70e5414a5a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Toolbar</b> (<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;app)</td></tr>
<tr class="separator:a84600ac501c165a06e775e70e5414a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05d027cd466b54792502653043a8db60"><td class="memItemLeft" align="right" valign="top"><a id="a05d027cd466b54792502653043a8db60"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#a05d027cd466b54792502653043a8db60">getHeight</a> ()</td></tr>
<tr class="memdesc:a05d027cd466b54792502653043a8db60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height. <br /></td></tr>
<tr class="separator:a05d027cd466b54792502653043a8db60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84f478320ce74f523bede52c0966271"><td class="memItemLeft" align="right" valign="top"><a id="ab84f478320ce74f523bede52c0966271"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#ab84f478320ce74f523bede52c0966271">draw</a> ()</td></tr>
<tr class="memdesc:ab84f478320ce74f523bede52c0966271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the <a class="el" href="classpepr3d_1_1_toolbar.html" title="A top part of the user interface that shows a File menu, Undo, Redo, and all tools.">Toolbar</a> using ImGui. <br /></td></tr>
<tr class="separator:ab84f478320ce74f523bede52c0966271"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a7d84a6ca9d9aad7afe53b7aecb1fdddf"><td class="memItemLeft" align="right" valign="top"><a id="a7d84a6ca9d9aad7afe53b7aecb1fdddf"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>ToolsVector</b> = std::vector&lt; std::unique_ptr&lt; <a class="el" href="classpepr3d_1_1_tool.html">Tool</a> &gt; &gt;</td></tr>
<tr class="separator:a7d84a6ca9d9aad7afe53b7aecb1fdddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a1d55b21ed7022216756d4d156c8f1e52"><td class="memItemLeft" align="right" valign="top"><a id="a1d55b21ed7022216756d4d156c8f1e52"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#a1d55b21ed7022216756d4d156c8f1e52">drawSeparator</a> ()</td></tr>
<tr class="memdesc:a1d55b21ed7022216756d4d156c8f1e52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a vertical separator. <br /></td></tr>
<tr class="separator:a1d55b21ed7022216756d4d156c8f1e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec26251465c349def3cb032370bdf25"><td class="memTemplParams" colspan="2"><a id="a8ec26251465c349def3cb032370bdf25"></a>
template&lt;typename Callback &gt; </td></tr>
<tr class="memitem:a8ec26251465c349def3cb032370bdf25"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#a8ec26251465c349def3cb032370bdf25">drawButton</a> (<a class="el" href="structpepr3d_1_1_toolbar_1_1_button_properties.html">ButtonProperties</a> &amp;props, Callback onPressed)</td></tr>
<tr class="memdesc:a8ec26251465c349def3cb032370bdf25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a clickable and selectable button in the <a class="el" href="classpepr3d_1_1_toolbar.html" title="A top part of the user interface that shows a File menu, Undo, Redo, and all tools.">Toolbar</a> according to the <a class="el" href="structpepr3d_1_1_toolbar_1_1_button_properties.html" title="Properties of a clickable and selectable button in the Toolbar.">ButtonProperties</a>. <br /></td></tr>
<tr class="separator:a8ec26251465c349def3cb032370bdf25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceb99e5459d3b1ba1d557caeec2e57d1"><td class="memItemLeft" align="right" valign="top"><a id="aceb99e5459d3b1ba1d557caeec2e57d1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#aceb99e5459d3b1ba1d557caeec2e57d1">drawFileDropDown</a> ()</td></tr>
<tr class="memdesc:aceb99e5459d3b1ba1d557caeec2e57d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a File drop down menu. <br /></td></tr>
<tr class="separator:aceb99e5459d3b1ba1d557caeec2e57d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2e255728e6b0962da017f3ee1822bc"><td class="memItemLeft" align="right" valign="top"><a id="afd2e255728e6b0962da017f3ee1822bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#afd2e255728e6b0962da017f3ee1822bc">drawUndoRedo</a> ()</td></tr>
<tr class="memdesc:afd2e255728e6b0962da017f3ee1822bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the Undo and Redo buttons. <br /></td></tr>
<tr class="separator:afd2e255728e6b0962da017f3ee1822bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b084de711b74735348315189c01fe7"><td class="memItemLeft" align="right" valign="top"><a id="a88b084de711b74735348315189c01fe7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#a88b084de711b74735348315189c01fe7">drawToolButtons</a> ()</td></tr>
<tr class="memdesc:a88b084de711b74735348315189c01fe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws buttons of all <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> instances. <br /></td></tr>
<tr class="separator:a88b084de711b74735348315189c01fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9366ee163dfe041a2661fe5eb664a325"><td class="memItemLeft" align="right" valign="top"><a id="a9366ee163dfe041a2661fe5eb664a325"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_toolbar.html#a9366ee163dfe041a2661fe5eb664a325">drawToolButton</a> (ToolsVector::iterator tool)</td></tr>
<tr class="memdesc:a9366ee163dfe041a2661fe5eb664a325"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a single button for a specified <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> (an iterator to the <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a>). <br /></td></tr>
<tr class="separator:a9366ee163dfe041a2661fe5eb664a325"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a29f26071f02ab35bdaa35cd08326766a"><td class="memItemLeft" align="right" valign="top"><a id="a29f26071f02ab35bdaa35cd08326766a"></a>
<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>mApplication</b></td></tr>
<tr class="separator:a29f26071f02ab35bdaa35cd08326766a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5cb57247638ff59f7dc9fef191fdcf3"><td class="memItemLeft" align="right" valign="top"><a id="af5cb57247638ff59f7dc9fef191fdcf3"></a>
std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectedButtonIndex</b> = 3</td></tr>
<tr class="separator:af5cb57247638ff59f7dc9fef191fdcf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea711be10561a98a3736e87570463b02"><td class="memItemLeft" align="right" valign="top"><a id="aea711be10561a98a3736e87570463b02"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>mHeight</b> = 50.0f</td></tr>
<tr class="separator:aea711be10561a98a3736e87570463b02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A top part of the user interface that shows a File menu, Undo, Redo, and all tools. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Home/MFF/1-Mgr/projekt/pepr3d/src/ui/<a class="el" href="_toolbar_8h_source.html">Toolbar.h</a></li>
<li>D:/Home/MFF/1-Mgr/projekt/pepr3d/src/ui/Toolbar.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacepepr3d.html">pepr3d</a></li><li class="navelem"><a class="el" href="classpepr3d_1_1_toolbar.html">Toolbar</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
